Skip to content

Conversation

jdonszelmann
Copy link
Contributor

@jdonszelmann jdonszelmann commented Aug 8, 2025

This reverts commit 4f7a6ac (PR: #144857)

r? @Kobzol
cc: @scrabsha

clean revert it seems :3

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 8, 2025
@Kobzol
Copy link
Member

Kobzol commented Aug 8, 2025

Thanks!

@bors r+ rollup=never p=1

@bors
Copy link
Collaborator

bors commented Aug 8, 2025

📌 Commit 866bc26 has been approved by Kobzol

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 8, 2025
@Zalathar
Copy link
Contributor

Zalathar commented Aug 8, 2025

Context of the revert is a significant perf regression: #144857 (comment)

bors added a commit that referenced this pull request Aug 8, 2025
…Kobzol

Revert "Port `#[allow_internal_unsafe]` to the new attribute system"

This reverts commit 4f7a6ac (PR: #144857)

r? `@Kobzol`
cc: `@scrabsha`

clean revert it seems :3
@bors
Copy link
Collaborator

bors commented Aug 8, 2025

⌛ Testing commit 866bc26 with merge c6bf245...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-aux failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- f32::test_gamma stdout ----

thread 'f32::test_gamma' (194114) panicked at library/std/tests/floats/f32.rs:198:5:
2.0000012 is not approximately equal to 2.0 (threshold 1e-6, difference 1.1920929e-6)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect


failures:
    f32::test_gamma

test result: FAILED. 28 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.59s

error: test failed, to rerun pass `-p std --test floats`
Build completed unsuccessfully in 0:04:16
make: *** [Makefile:58: check-aux] Error 1
  local time: Fri Aug  8 12:59:26 UTC 2025
  network time: Fri, 08 Aug 2025 12:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.

@bors
Copy link
Collaborator

bors commented Aug 8, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 8, 2025
@Kobzol
Copy link
Member

Kobzol commented Aug 8, 2025

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 8, 2025
@scrabsha
Copy link
Contributor

scrabsha commented Aug 8, 2025

@Kobzol question for my personal culture: what eldritch horror caused this test to fail? It seems completely unrelated 😱

@Kobzol
Copy link
Member

Kobzol commented Aug 8, 2025

@scrabsha
Copy link
Contributor

scrabsha commented Aug 8, 2025

Oh, thanks for the link!

@bors
Copy link
Collaborator

bors commented Aug 9, 2025

⌛ Testing commit 866bc26 with merge 4c7749e...

@bors
Copy link
Collaborator

bors commented Aug 9, 2025

☀️ Test successful - checks-actions
Approved by: Kobzol
Pushing 4c7749e to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 9, 2025
@bors bors merged commit 4c7749e into rust-lang:master Aug 9, 2025
11 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Aug 9, 2025
Copy link
Contributor

github-actions bot commented Aug 9, 2025

What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing ffb9d94 (parent) -> 4c7749e (this PR)

Test differences

Show 62 test diffs

Stage 1

  • errors::verify_passes_allow_internal_unstable_80: [missing] -> pass (J0)
  • errors::verify_passes_macro_only_attribute_80: pass -> [missing] (J0)

Additionally, 60 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 4c7749e8c8e50ad146da599eea3a250160c1bc2b --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. dist-apple-various: 3596.2s -> 5161.2s (43.5%)
  2. x86_64-apple-2: 5943.5s -> 5180.1s (-12.8%)
  3. x86_64-apple-1: 7456.5s -> 8363.6s (12.2%)
  4. x86_64-gnu-aux: 6017.5s -> 6724.9s (11.8%)
  5. dist-various-1: 3729.2s -> 4142.2s (11.1%)
  6. pr-check-2: 2803.6s -> 2605.2s (-7.1%)
  7. x86_64-gnu-llvm-20-1: 3409.4s -> 3645.6s (6.9%)
  8. x86_64-gnu-llvm-19-3: 7146.1s -> 6652.1s (-6.9%)
  9. dist-aarch64-msvc: 5449.2s -> 5093.3s (-6.5%)
  10. dist-i686-mingw: 8559.6s -> 9087.3s (6.2%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (4c7749e): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Our benchmarks found a performance regression caused by this PR.
This might be an actual regression, but it can also be just noise.

Next Steps:

  • If the regression was expected or you think it can be justified,
    please write a comment with sufficient written justification, and add
    @rustbot label: +perf-regression-triaged to it, to mark the regression as triaged.
  • If you think that you know of a way to resolve the regression, try to create
    a new PR with a fix for the regression.
  • If you do not understand the regression or you think that it is just noise,
    you can ask the @rust-lang/wg-compiler-performance working group for help (members of this group
    were already notified of this PR).

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.8% [2.6%, 2.9%] 6
Improvements ✅
(primary)
-0.8% [-4.1%, -0.1%] 121
Improvements ✅
(secondary)
-0.7% [-1.4%, -0.1%] 39
All ❌✅ (primary) -0.8% [-4.1%, -0.1%] 121

Max RSS (memory usage)

Results (primary -2.2%, secondary -1.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-2.2% [-2.2%, -2.2%] 1
Improvements ✅
(secondary)
-1.6% [-2.4%, -0.9%] 4
All ❌✅ (primary) -2.2% [-2.2%, -2.2%] 1

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 465.236s -> 463.02s (-0.48%)
Artifact size: 377.38 MiB -> 377.40 MiB (0.01%)

@rustbot rustbot added the perf-regression Performance regression. label Aug 9, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? `@jdonszelmann` 💖
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? ``@jdonszelmann`` 💖
fmease added a commit to fmease/rust that referenced this pull request Aug 11, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? `@jdonszelmann` 💖
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? ``@jdonszelmann`` 💖
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? ```@jdonszelmann``` 💖
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? ````@jdonszelmann```` 💖
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? `````@jdonszelmann````` 💖
@Kobzol
Copy link
Member

Kobzol commented Aug 12, 2025

Revert of #144857, which caused perf. regressions.

@rustbot label: +perf-regression-triaged

@rustbot rustbot added the perf-regression-triaged The performance regression has been triaged. label Aug 12, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 12, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? ``````@jdonszelmann`````` 💖
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 12, 2025
…szelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? ```````@jdonszelmann``````` 💖
rust-timer added a commit that referenced this pull request Aug 12, 2025
Rollup merge of #145155 - scrabsha:push-tkvwkolzooyq, r=jdonszelmann

Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)

This is a slightly modified version of ae1487a, which caused a performance regression (reverted in #145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.

r? ```````@jdonszelmann``````` 💖
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. perf-regression-triaged The performance regression has been triaged. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants